/* 
 * File:   nonplantablecelltest.cpp
 * Author: dolphinigle
 *
 * Created on March 11, 2011, 4:08 PM
 */

#include <stdlib.h>
#include "gtest/gtest.h"
#include "gtesthelper.hpp"
#include "nonplantablecell.hpp"
#include "game.hpp"

TEST(NonPlantableCellTest, Accuracy) {
  Game* g = new Game("Irvan", "test.gag");
  NonPlantableCell npc(g);
  npc.advanceTime();
  npc.advanceDay();
  EXPECT_TRUE(npc.isEnterable());
  EXPECT_FALSE(npc.isPlantable());
  delete g;
}

